<input type="file" id="imgupload"> <a href="#" onclick="$('#imgupload').trigger('click'); return false;">Upload file</a>